﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NTQOnlineExam.Services.DBCommand;

namespace NTQOnlineExam.Services.CommandService.Question
{
    public interface IQuestionCommandService
    {
        bool CreateQuestion(AddQuestionCommand addQuestionCommand, out int questionId);

        bool UpdateQuestion(UpdateQuestionCommand questionCommand);

        bool DeleteQuestion(int questionId);

        bool ChangeQuestionOrder(ChangeQuestionOrderCommand command);
    }
}
